#ifndef DECK_H
#define DECK_H

#include "Card.h"
#include <time.h>
#include <iostream>

const int DECK_MAX_NUMBER = 52;

struct Deck {
	int nb;
	Card cards[DECK_MAX_NUMBER];
};

struct DeckIndex {
	int nb;
	int index[DECK_MAX_NUMBER];
};

void InitDeck(Deck &deck);
void InitIndex(DeckIndex &deckIndex);
void GetKind(Kind &k, int i);
void GetCard(Card &drawedCard, const Deck &deck, DeckIndex &deckIndex);

#endif

